//
//  VERemondDetailImageContentViewTableViewCell.m
//  VEMoneyPorject
//
//  Created by BlueWind on 2018/9/12.
//  Copyright © 2018年 陈建. All rights reserved.
//

#import "VERemondDetailImageContentViewTableViewCell.h"

@implementation VERemondDetailImageContentViewTableViewCell
{
    UIView *_imageContentView; /**<图片 view*/

}

/** 返回循环利用的cell */
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self= [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        [self loadDefaultSetting];
    }
    return self;
}

/** 加载默认UI元素和需要的数据 */
- (void)loadDefaultSetting {
 
    _imageContentView = [UIView new];
    [self.contentView addSubview:_imageContentView];
    [_imageContentView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.contentView).offset(GAP8);
        make.left.equalTo(self.contentView).offset(GAP15);
        make.right.equalTo(self.contentView).offset(-GAP15);
        make.height.mas_equalTo((SCREEN_WIDTH - 2 *(GAP15 + GAP8))/3 + 16);
    }];
    _imageContentView.backgroundColor = [UIColor cyanColor];
}
@end
